//
//  WYChannelView.h
//  WYNews
//
//  Created by 曾佳豪 on 2017/3/18.
//  Copyright © 2017年 haodada.com. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WYChannelModel.h"

@protocol WYChannelViewDelegate <NSObject>

//点击label 跳转到对应的频道列表
//参数 对应的频道的index
-(void)channelChanged:(NSInteger )index;

@end
@interface WYChannelView : UIScrollView

//出来label点击的代理属性

@property(nonatomic,weak)id<WYChannelViewDelegate>channelDelegate;
//频道的模型数组

@property(nonatomic,strong)NSArray *channelModelArr;

//当前选中的label的index

@property(nonatomic,assign)NSInteger selectedIndex;

@end
